package com.onesports.intelligent.k12.polarlight.domain.dto.sys;

import com.onesports.framework.kit.common.valid.Length;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @author suyq
 * @date 2021/12/31 15:05
 */
@Data
@ApiModel("忘记密码DTO")
public class ForgetPwdDTO {

    @ApiModelProperty(value = "电话号码",required = true)
    private String phone;

    @ApiModelProperty(value = "验证码",required = true)
    private String code;

    @ApiModelProperty(value = "密码",required = true)
    @Length(min = 6,max = 12,message = "请输入6-12位的密码")
    private String password;

}
